package com.wicket.okrcomponent.biz.service.dto.common;

import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc DataFilterSpecRecByDto
 * @使用场景
 */
@Data
public class DataFilterSpecRecByDto extends BaseDto implements Serializable {

  /**
   * 自定义字段
   */
  @NotNull(message = "自定义字段不能为空")
  @ApiModelProperty("自定义字段")
  private String customField;

  /**
   * 自定义字段3
   */
  @ApiModelProperty("自定义字段3")
  private String customField3;
/**
     * 自定义字段1
     */
    @ApiModelProperty("自定义字段1")
    private String	 customField1;

    /**
     * 自定义字段2
     */
    @ApiModelProperty("自定义字段2")
    private String	 customField2;
/**
     * 自定义字段4 
     */
    @NotNull(message = "自定义字段4不能为空")
@ApiModelProperty("自定义字段4")
    private String	 customField4;

    /**
     * 自定义字段5 
     */
    @NotNull(message = "自定义字段5不能为空")
@ApiModelProperty("自定义字段5")
    private String	 customField5;

    /**
     * 自定义字段6 
     */
    @NotNull(message = "自定义字段6不能为空")
@ApiModelProperty("自定义字段6")
    private String	 customField6;

    /**
     * 自定义字段7 
     */
    @NotNull(message = "自定义字段7不能为空")
@ApiModelProperty("自定义字段7")
    private String	 customField7;

    /**
     * 自定义字段8 
     */
    @NotNull(message = "自定义字段8不能为空")
@ApiModelProperty("自定义字段8")
    private String	 customField8;
/**
     * 通用文本字段 
     */
    @NotNull(message = "通用文本字段不能为空")
@ApiModelProperty("通用文本字段")
    private String	 comTxtField;

    /**
     * 通用数值字段（小数型） 
     */
    @ApiModelProperty("通用数值字段（小数型）")
    private Double	 comFloatField;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      DataFilterSpecRecByDto that = (DataFilterSpecRecByDto) o;
      return  customField == that.customField&&customField3 == that.customField3&&customField1 == that.customField1&&customField2 == that.customField2&&customField4 == that.customField4&&customField5 == that.customField5&&customField6 == that.customField6&&customField7 == that.customField7&&customField8 == that.customField8&&comTxtField == that.comTxtField&&comFloatField == that.comFloatField;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), customField,customField3,customField1,customField2,customField4,customField5,customField6,customField7,customField8,comTxtField,comFloatField);
    }

}
